wpCloud\StatelessMedia\DB B

Total Complexity 100
Dependencies 4
Dependents 1
Total lines 1,043
Lines of code 532
Logical lines of code 258
Comment lines 301
Methods 43
Properties 8

Methods 43

Method Rating Maintainability Complexity Lines of code
update_data()
A
48 10 34
get_file_sizes()
S
51 6 25
get_file()
S
52 6 24
create_db()
S
43 3 65
_map_fields()
S
56 6 19
get_file_meta_value()
S
54 5 21
update_non_library_file()
S
56 5 19
set_file_size()
S
59 4 15
set_file()
S
59 4 15
get_file_meta()
S
59 3 14
update_file_meta()
S
55 2 21
delete_post()
S
58 2 19
_update_file_size()
S
58 2 17
_update_file()
S
59 2 16
__construct()
S
58 2 16
get_non_library_file_id()
S
62 3 10
_get_file_from_media()
S
53 1 22
get_total_files()
S
65 2 9
__get()
S
72 2 5
get_file_id()
S
71 2 5
get_total_non_media_files()
S
65 2 9
get_total_file_sizes()
S
65 2 9
get_non_library_files()
S
65 2 8
get_file_meta_id()
S
69 2 6
get_file_size_id()
S
71 2 5
_get_file_size_from_media()
S
60 1 13
_init()
S
60 1 12
clear_db()
S
62 1 12
_get_file_sizes_cache_key()
S
78 1 3
remove_non_library_file()
S
67 1 9
get_file_link()
S
79 1 3
get_non_library_file_name()
S
74 1 4
_get_file_cache_key()
S
78 1 3
_get_file_meta_cache_group()
S
78 1 3
_delete_attachment_cache()
S
74 1 5
_delete_file_meta_cache()
S
80 1 3
_delete_file_meta_key_cache()
S
72 1 6
process_cloud_meta()
S
77 1 4
_delete_file_cache()
S
79 1 3
_set_file_meta_cache()
S
70 1 7
_get_file_meta_cache()
S
68 1 8
_get_file_meta_cache_key()
S
78 1 3
_delete_file_sizes_cache()
S
79 1 3